package cn.silver.module.message.domain;

import cn.silver.framework.mybatis.annotation.Table;
import cn.silver.framework.mybatis.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@Table(name = "msg_template_param")
@EqualsAndHashCode(callSuper = true)
@Schema(name = "MsgTemplateContent", title = "系统消息模板-模板参数表")
public class MsgTemplateParam extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 参数类型
     */
    @Schema(title = "参数类型")
    private String paramType;
    /**
     * 参数名
     */
    @Schema(title = "参数名")
    private String paramCode;
    /**
     * 参数说明
     */
    @Schema(title = "参数说明")
    private String paramName;
    /**
     * 默认值
     */
    @Schema(title = "默认值")
    private String paramValue;
    /**
     * 模板id
     */
    @Schema(title = "模板id")
    private String templateId;
}
